import { POST } from "../../services/request"

const Order = {
    OrderConfirm(data = {})
    {
        return POST({
            url:'/product/order/confirm',
            params:data
        });
    },
    OrderIndex(data = {})
    {
        return POST({
            url:'/product/order/index',
            params:data
        });
    },
    OrderPay(data = {})
    {
        return POST({
            url:'/product/order/pay',
            params:data
        });
    },
    OrderDetail(data = {})
    {
        return POST({
            url:'/product/order/detail',
            params:data
        });
    },
    BuyProduct(data = {})
    {
        return POST({
            url:'/product/order/buy',
            params:data
        });
    }
}

export default Order;